const Router = require('@koa/router')
const controller = require('./controller')
const { autoRegister } = require('./utils/router-helper')
const router = new Router()

autoRegister(router, controller, '/api')

module.exports = router
